package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc MultitermOptionCodeTransitionMultirowResultDto
 * @使用场景
 */
@Data
public class MultitermOptionCodeTransitionMultirowResultDto
  extends BaseDto
  implements Serializable {

  /**
   * 答案ID
   */
  @ApiModelProperty("答案ID")
  private String optionResultId;

  /**
   * 答案值
   */
  @ApiModelProperty("答案值")
  private String endValue;

  /**
   * 选项标识
   */
  @ApiModelProperty("选项标识")
  private String confOptionCode;

  /**
   * 选项名称
   */
  @ApiModelProperty("选项名称")
  private String confOptionName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      MultitermOptionCodeTransitionMultirowResultDto that = (MultitermOptionCodeTransitionMultirowResultDto) o;
      return  optionResultId == that.optionResultId&&endValue == that.endValue&&confOptionCode == that.confOptionCode&&confOptionName == that.confOptionName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), optionResultId,endValue,confOptionCode,confOptionName);
    }

}
